Skip to content

Commit

Permalink
Fix expiry date when generating invite link (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
djaca authored and Hasnayeen committed Jul 14, 2019
1 parent 4355eb5 commit 932c7ec
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions public/js/admin/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/admin/index.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions public/mix-manifest.json
@@ -1,7 +1,7 @@
{
"/js/manifest.js": "/js/manifest.js?id=004313bac53cfe69b0f6",
"/js/vendor.js": "/js/vendor.js?id=1983795cedc06cf177d7",
"/js/admin/index.js": "/js/admin/index.js?id=6299c13e4481257509bb",
"/js/admin/index.js": "/js/admin/index.js?id=39bd71a974cb53c70cd6",
"/js/auth/login.js": "/js/auth/login.js?id=587587ba0080725daab2",
"/css/main.css": "/css/main.css?id=c3c7fad5c113593e8d42",
"/js/auth/register.js": "/js/auth/register.js?id=a06294f91a3bb4233edf",
Expand All @@ -23,7 +23,7 @@
"/js/offices/single.min.js": "/js/offices/single.min.js?id=d1da0eb0d605dac12336",
"/js/users/profile.min.js": "/js/users/profile.min.js?id=ca4f13f4e0ffe09bb3cc",
"/js/users/settings.min.js": "/js/users/settings.min.js?id=b67c16558be0c336553d",
"/js/admin/index.min.js": "/js/admin/index.min.js?id=6299c13e4481257509bb",
"/js/admin/index.min.js": "/js/admin/index.min.js?id=39bd71a974cb53c70cd6",
"/js/home.min.js": "/js/home.min.js?id=2048969e9967a19ca3fe",
"/js/vendor.min.js": "/js/vendor.min.js?id=1983795cedc06cf177d7"
}
2 changes: 1 addition & 1 deletion resources/assets/js/components/admin/invitationBoard.vue
Expand Up @@ -103,7 +103,7 @@ export default {
}
axios.post('/register/invite-link', {
role_id: this.roleId,
expiry_date: this.expiryDate
expiry_date: luxon.DateTime.fromJSDate(this.expiryDate).toFormat('y-L-d')
})
.then((response) => {
this.shareableLink = response.data.link
Expand Down

0 comments on commit 932c7ec

Please sign in to comment.