Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit 877f36c

Browse files
author
Ursula Clarke Everett
committed
Merge pull request #180 from CoderDojo/i-880-fix-accept-parent-invites
Correct name of endpoint
2 parents 953099e + 20b7594 commit 877f36c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

profiles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ module.exports = function (options) {
113113
seneca.add({role: plugin, cmd: 'update-youth-profile'}, cmd_update_youth);
114114
seneca.add({role: plugin, cmd: 'invite-parent-guardian'}, cmd_invite_parent_guardian);
115115
seneca.add({role: plugin, cmd: 'search'}, cmd_search);
116-
seneca.add({role: plugin, cmd: 'accept_parent_invite'}, cmd_accept_parent_invite);
116+
seneca.add({role: plugin, cmd: 'accept-parent-invite'}, cmd_accept_parent_invite);
117117
seneca.add({role: plugin, cmd: 'load_hidden_fields'}, cmd_load_hidden_fields);
118118
seneca.add({role: plugin, cmd: 'list'}, cmd_list);
119119
seneca.add({role: plugin, cmd: 'change_avatar'}, cmd_change_avatar);

0 commit comments

Comments
 (0)