Compare commits
1 Commits
ad81ee3647
...
9bacaf19b0
Author | SHA1 | Date | |
---|---|---|---|
9bacaf19b0 |
@ -1,25 +0,0 @@
|
||||
/*******************************************************
|
||||
* File: msg.js
|
||||
* Author: Anthony Debucquoy
|
||||
* Scope: Extension messagerie
|
||||
* Description: Messages frontend api consumer
|
||||
*******************************************************/
|
||||
|
||||
import { restGet } from './restConsumer.js'
|
||||
|
||||
export async function getDiscussions(){
|
||||
return [
|
||||
{
|
||||
id: 1,
|
||||
name: "Discussion#1",
|
||||
members: [1, 2, 3, 4],
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: "Discussion#2",
|
||||
members: [1, 4],
|
||||
}
|
||||
]
|
||||
return restGet("/discussions");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user