Skip to content

Commit

Permalink
Fix: Missing export in cloud package (#13282)
Browse files Browse the repository at this point in the history
* Fix missing export

* Removed trailing s from filename to match export
  • Loading branch information
geekgonecrazy authored and rodrigok committed Jan 29, 2019
1 parent c420a28 commit 8d997a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/rocketchat-cloud/server/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import './methods';
import { getWorkspaceAccessToken } from './functions/getWorkspaceAccessTokens';
import { getWorkspaceAccessToken } from './functions/getWorkspaceAccessToken';
import { getWorkspaceLicense } from './functions/getWorkspaceLicense';

if (RocketChat.models && RocketChat.models.Permissions) {
RocketChat.models.Permissions.createOrUpdate('manage-cloud', ['admin']);
Expand All @@ -8,4 +9,4 @@ if (RocketChat.models && RocketChat.models.Permissions) {
// Ensure the client/workspace access token is valid
getWorkspaceAccessToken();

export { getWorkspaceAccessToken };
export { getWorkspaceAccessToken, getWorkspaceLicense };

0 comments on commit 8d997a0

Please sign in to comment.