12 lines
281 B
JavaScript
12 lines
281 B
JavaScript
module.exports = exports = async (message, di) => {
|
|
const { descriptor } = message.data()
|
|
|
|
if ( message.socket.session.file_descriptors ) {
|
|
delete message.socket.session.file_descriptors[descriptor]
|
|
}
|
|
|
|
message.send_response(
|
|
message.fresh()
|
|
)
|
|
}
|