update org timezone

This commit is contained in:
Patrick Nagurny
2019-06-27 16:26:31 -04:00
parent b602cb1740
commit 5b720b79c4
5 changed files with 109 additions and 0 deletions

View File

@@ -59,6 +59,14 @@ export class OrgService {
});
}
updateOrg(org: Org): Observable<Org> {
return this.apiService.putOrg(org)
.do(org => {
this.org = org;
this.sessionService.switchOrg(this.org);
})
}
getInvites(): Observable<Invite[]> {
return this.apiService.getInvites();
}