mirror of
https://github.com/hexastack/hexabot
synced 2025-01-22 10:35:37 +00:00
fix: minor fixes
This commit is contained in:
parent
0567804081
commit
1d896830cb
@ -787,6 +787,10 @@ export default abstract class BaseWebChannelHandler<
|
||||
const attachment = await this.handleUpload(req, res);
|
||||
if (attachment) {
|
||||
event._adapter.attachment = attachment;
|
||||
event._adapter.raw.data = {
|
||||
type: Attachment.getTypeByMime(attachment.type),
|
||||
url: await this.getPublicUrl(attachment),
|
||||
};
|
||||
}
|
||||
} catch (err) {
|
||||
this.logger.warn(
|
||||
|
@ -4,7 +4,7 @@
|
||||
}
|
||||
|
||||
.sc-suggestions-element {
|
||||
margin: 0 0 0 0.25rem;
|
||||
margin: 0 0 0.25rem 0.25rem;
|
||||
padding: 0.25rem 0.5rem;
|
||||
border: 1px solid;
|
||||
border-radius: 2rem;
|
||||
|
Loading…
Reference in New Issue
Block a user