Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (7 sloc) 451 Bytes
;; --------------------------------------------------------
;; 4.3-change-nickname
;; --------------------------------------------------------
;; define a function change-nickname that takes parameters id and new-name
;; enforce user authorization to the id provided
;; update the users nickname to the new-name using the given id
;; return a message to the user formatted as "Updated name for user [id] to [name]"
You can’t perform that action at this time.